package ae.pcfc.cldos.online.gs;

import java.util.Map;

import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;

public class Utils {
	public static String getEndPointURI(Object target,
			Map<String, String> webServicesEndPointsMap) {
		String classKey = StringUtils.delete(
				ClassUtils.getShortName(target.getClass()), "Impl");
		String classURIValue = webServicesEndPointsMap.get(classKey);
		return classURIValue;
	}
}
